<?php

namespace App\Containers\AppSection\Status\Data\Seeders;

use App\Containers\AppSection\Status\Tasks\CreateStatusTask;
use App\Ship\Parents\Seeders\Seeder;

class StatusSeeder_1 extends Seeder
{
    public function run()
    {
        $createStatusTask = app(CreateStatusTask::class);

        //Таблица users, стобец status
        $createStatusTask->run(['key' => 'users_ok', 'value' => 'ОК', 'table' => 'users']);
        $createStatusTask->run(['key' => 'users_deleted', 'value' => 'Удален', 'table' => 'users']);
        $createStatusTask->run(['key' => 'users_not_confirmed', 'value' => 'Не подтвержден', 'table' => 'users']);
        $createStatusTask->run(['key' => 'users_ban', 'value' => 'Бан', 'table' => 'users']);

        //Таблица profiles, стобец accreditation status
        $createStatusTask->run(['key' => 'accreditation_accredited', 'value' => 'Аккредитован', 'table' => 'profiles_accreditation']);
        $createStatusTask->run(['key' => 'accreditation_returned', 'value' => 'Возвращен на доработку', 'table' => 'profiles_accreditation']);
        $createStatusTask->run(['key' => 'accreditation_checking', 'value' => 'На проверке', 'table' => 'profiles_accreditation']);
        $createStatusTask->run(['key' => 'accreditation_not_accredited', 'value' => 'Не аккредитован', 'table' => 'profiles_accreditation']);
        $createStatusTask->run(['key' => 'accreditation_rejected', 'value' => 'Отклонен', 'table' => 'profiles_accreditation']);

        //Таблица profiles, стобец qualification status
        $createStatusTask->run(['key' => 'qualification_qualified', 'value' => 'Квалификация подтверждена', 'table' => 'profiles_qualification']);
        $createStatusTask->run(['key' => 'qualification_checking', 'value' => 'На проверке', 'table' => 'profiles_qualification']);
        $createStatusTask->run(['key' => 'qualification_not_qualified', 'value' => 'Квалификация не подтверждена', 'table' => 'profiles_qualification']);
        $createStatusTask->run(['key' => 'qualification_rejected', 'value' => 'Отклонен', 'table' => 'profiles_qualification']);

        //Таблица projects, стобец moderation status
        $createStatusTask->run(['key' => 'projects_checking', 'value' => 'На проверке', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_returned', 'value' => 'Возвращен на доработку', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_not_moderated', 'value' => 'Модерация не подтверждена', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_rejected', 'value' => 'Отклонен', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_collecting', 'value' => 'Сбор инвестиций', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_collecting_completed', 'value' => 'Сбор инвестиций завершен', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_signing_stage', 'value' => 'Стадия подписания', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_payment_services', 'value' => 'Ожидается оплата услуг', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_payment_stage', 'value' => 'Стадия выплат', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_delay', 'value' => 'Просрочка', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_completed', 'value' => 'Завершен', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_not_carried_out', 'value' => 'Не состоялся', 'table' => 'projects']);
        $createStatusTask->run(['key' => 'projects_canceled', 'value' => 'Отменен', 'table' => 'projects']);
    }
}
